import service from "../utils/request";
// 密码登录
export const userLogin = (data) => {
	return service.post('/api/v1/admin/login', data);
};

//获取用户信息
export const getInfo = (data) => {
	return service.post('/api/v1/admin/info', data);
};
//图片上传功能
export const upLoadImage = (data) => {
	return service.post('/api/v1/admin/upload', data);
};